package com.sv.jm.baselibrary.utils;

import android.util.Log;

import com.sv.jm.baselibrary.Config.AppConfig;

/**
 * Created by Administrator on 2017/5/23.
 */

public class LogHelper {

    public static void logI(Object t, String log) {
        if (AppConfig.isDebuggable)
            Log.i(t.getClass().getName(), log);
    }

    public static void logD(Object t, String log) {
        if (AppConfig.isDebuggable)
            Log.d(t.getClass().getName(), log);
    }

    public static void logE(Object t, String log) {
        if (AppConfig.isDebuggable)
            Log.e(t.getClass().getName(), log);
    }
}
